﻿@model Pro260Website.Areas.Admin.Models.GamePlatformViewModel

<h2 class="title coolBlack" style="font-size: 17px;">Add Platform</h2>

<div id="titlelessItem">
<div class="item">
    @using (Html.BeginForm("AddPlatform", "Game", FormMethod.Post))
    {
        @Html.HiddenFor(m => m.GameId)
        <select name="platformId">
            @foreach (var item in Model.AvailablePlatforms)
            {
                <option value="@item.PlatformID">@item.Name</option>
            }
        </select>
        <input type="submit" value="Add Platform"  class="actionButtons @Html.GetColor(Request.Cookies["color"])"/>
    }
</div>
</div>